'use strict';
exports.main = async (event, context) => {


	const db = uniCloud.database()
	return new Promise((resolve,reject)=>{
		db.collection('AccountBook').add(event).then(res=>{
			resolve(res)
		}).catch(err=>{
			reject(err)
		})
	})

};
